package com.common.message.vo;

public enum CommandType {
    REGISTER((byte)10,"注册"),
    INSTALL((byte)20,"安装"),
    DATA_UPLOAD((byte)21,"上报数据"),
    DEEP_PINE_DATA_UPLOAD((byte)31,"深松数据上传"),
    PADDY_FIELD_DATA_UPLOAD((byte)32,"水田数据上传"),
    STRAW_DATA_UPLOAD((byte)33,"秸秆数据上传"),
    NO_TILLAGE_DATA_UPLOAD((byte)34,"免耕数据上传"),
    PLANT_PROTECTION_DATA_UPLOAD((byte)35,"植保数据上传"),
    HARVEST_DATA_UPLOAD((byte)36,"收获数据上传"),
    TRANSPLANTING_DATA_UPLOAD((byte)37,"插秧数据上传"),
    MASTER_CAMERA_PICTURE_UPLOAD((byte)40,"主摄像头图片上传"),
    AUXILIARY_CAMERA_DATA_UPLOAD((byte)41,"副摄像头图片上传"),
    CAPTURE((byte)42,"抓拍命令"),
    CAPTURE_UPLOAD_MASTER_CAMERA_PICTURE((byte)43,"主摄像头抓拍数据上传"),
    CAPTURE_UPLOAD_AUXILIARY_CAMERA_DATA((byte)44,"副摄像头抓拍数据上传"),
    REMOTE_UPGRADE((byte)50,"远程升级指令"),
    SENSOR_REMOTE_UPGRADE((byte)52,"传感器远程升级指令"),
    SENSOR_REMOTE_UPDATE_PACKETS((byte)53,"传感器远程升级数据包"),
    CALIBRATION_TIME((byte)61,"校准时间"),
    HISTORICAL_DATA_UPLOAD((byte)71,"历史数据上传"),
    HISTORICAL_PICTURE_DATA_UPLOAD((byte)80,"历史图片数据上传"),
    ISTORICAL_PICTURE_DATA_UPLOAD_ONE((byte)81,"历史图片数据上传"),
    ;

    CommandType(byte code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    private byte code;
    private String desc;

    public byte getCode() {
        return code;
    }

    public String getDesc() {
        return desc;
    }
}
